* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/beijing\ \ 43.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.container {
    position: relative;
    width: 400px;
    height: 105px;
    background: #fff;
    padding: 28px 32px;
    overflow: hidden;
    border-radius: 18px;
    font-family: 'Roboto', sans-serif;
    transition: .6s ease-out;
    background-image: url(../images/库诺米.png);
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: center;
}

.mayun {
    position: absolute;
    left: 100px;
}

.mayun img {
    border-radius: 30px;
}

.search-box {
    width: 100%;
    height: min-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box input {
    color: #181240;
    width: 80%;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 32px;
    font-family: '楷体', serif;
    border-radius: 30px;
    background-color: rgba(255, 252, 253, .8);
}

.search-box input::placeholder {
    font-size: 20px;
    font-weight: 500;
    color: #0D0D0D;
    text-transform: capitalize;
}

.search-box button {
    cursor: pointer;
    width: 50px;
    height: 50px;
    color: #0D0D0D;
    background: #42378C;
    border-radius: 50%;
    font-size: 22px;
    transition: .4s ease;
}

.search-box button:hover {
    color: #4C33A6;
    background: #847ac8;
}

.search-box i {
    position: absolute;
    color: #0D0D0D;
    font-size: 28px;
}

.weather-box {
    text-align: center;
}

.weather-box img {
    width: 60%;
    margin-top: 30px;
}

.weather-box .temperature {
    position: relative;
    color: #4C33A6;
    font-size: 4rem;
    font-weight: 800;
    margin-top: 30px;
    margin-left: -16px;
    text-shadow: 5px 5px 10px rgb(229, 151, 197),
        10px 10px 20px rgb(211, 152, 236);
}

.weather-box .temperature span {
    position: absolute;
    margin-left: 4px;
    font-size: 1.5rem;
}

.weather-box .description {
    color: #6e47e3;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    text-shadow: 5px 5px 10px rgb(229, 151, 197),
        10px 10px 20px rgb(211, 152, 236);
}

.weather-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.weather-details .humidity,
.weather-details .wind {
    display: flex;
    align-items: center;
    width: 50%;
    height: 100px;
}

.weather-details .humidity {
    padding-left: 20px;
    justify-content: flex-start;
}

.weather-details .wind {
    padding-right: 20px;
    justify-content: flex-end;
}

.weather-details i {
    color: #42378C;
    font-size: 40px;
    margin-right: 10px;
    margin-top: 6px;
}

.weather-details span {
    color: #4C4673;
    font-size: 22px;
    font-weight: 500;
}

.weather-details p {
    color: #4C4673;
    font-size: 16px;
    font-weight: 600;
    font-family: '微软雅黑', serif;
}

.not-found {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    scale: 0;
    opacity: 0;
    display: none;
}

.not-found img {
    width: 70%;
}

.not-found p {
    color: #06283Ddc;
    font-size: 22px;
    font-weight: 500;
    margin-top: 12px;
}

.weather-box,
.weather-details {
    scale: 0;
    opacity: 0;
}

.fadeIn {
    animation: .5s fadeIn forwards;
    animation-delay: .5s;
}

@keyframes fadeIn {
    to {
        scale: 1;
        opacity: 1;
    }
}